package com.vrv.app.cyberspace.modules.sys.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.models.auth.In;

import java.io.Serializable;

/**
 * <p>
 * 流转记录表
 * </p>
 *
 * @author sm
 * @since 2018-01-15
 */
@TableName("CIRCULATION_RECORD_TABLE")
public class CirculationRecordTable extends Model<CirculationRecordTable> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 操作人名
     */
    private String operator;
    /**
     * 操作时间
     */
    private Date time;
    /**
     * 操作内容
     */
    private String content;
    /**
     * 关联反馈信息Id
     */
    private String fId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getfId() {
        return fId;
    }

    public void setfId(String fId) {
        this.fId = fId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "CirculationRecordTable{" +
                ", id=" + id +
                ", operator=" + operator +
                ", time=" + time +
                ", content=" + content +
                ", fId=" + fId +
                "}";
    }


    @TableField(exist = false)
    private Integer exStatus;//1--确认;2--继续跟踪;3--终止反馈

    @TableField(exist = false)
    private Integer infoType;//1--information_table；2--risk_table；3--event_table

    @TableField(exist = false)
    private Integer baseID;

    @TableField(exist = false)
    private String orgIDs;

    public Integer getExStatus() {
        return exStatus;
    }

    public void setExStatus(Integer exStatus) {
        this.exStatus = exStatus;
    }

    public Integer getInfoType() {
        return infoType;
    }

    public void setInfoType(Integer infoType) {
        this.infoType = infoType;
    }

    public Integer getBaseID() {
        return baseID;
    }

    public void setBaseID(Integer baseID) {
        this.baseID = baseID;
    }

    public String getOrgIDs() {
        return orgIDs;
    }

    public void setOrgIDs(String orgIDs) {
        this.orgIDs = orgIDs;
    }
}
